// Simple MVC 
// Model describes an entity in the database 
// Controller describes how it relates to the database
// View describes the entity to the user

//Class for a user controller

	//User -
		// id 
		// email
		// username
		// passwd
		// last login
		// access level
		// status
		// groups
		// current ticket

var UserControl = new Class({
  
/* Inherit the default controller functions. */
	Extends: baseControl,
  
/* Construct a new user controller */
	initialize: function( )
		{
			this.parent();
			
			this.stringType = 'UserController';
			this.itemType = 'User';
			
		},
			
	add: function(data, callback)
		{
			return this.baseAdd(data, callback);
		}
});